<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>关于数组</title>
</head>

<body>
    沙漏效应
</body>
<script>
    let arr = ["a", "b", "c", "d", "e"];
    for (let i = 0; i < arr.length; i++) {
        // split是删除，i代表起始删除的位置，1代表删除的个数
        arr.splice(i,1);
    }
    //最终的结果是什么？
    console.log(arr);
</script>

</html>